.. _ruleset-php-recommendations: PHP recommendations +++++++++++++++++++ This ruleset is a collection of warnings and notes that are available in the PHP manual. For example, return do not require parenthesis. Total : 22 analysis * :ref:`eval()-usage` * :ref:`using-short-tags` * :ref:`strpos()-like-comparison` * :ref:`bad-constants-names` * :ref:`use-with-fully-qualified-name` * :ref:`dangling-array-references` * :ref:`return-with-parenthesis` * :ref:`no-real-comparison` * :ref:`use-constant-instead-of-function` * :ref:`throw-in-destruct` * :ref:`useless-type-casting` * :ref:`no-isset()-with-empty()` * :ref:`avoid-array\_push()` * :ref:`crc32()-might-be-negative` * :ref:`not-a-scalar-type` * :ref:`implode-one-arg` * :ref:`could-be-stringable` * :ref:`missing-attribute-attribute` * :ref:`no-constructor-in-interface` * :ref:`unsupported-operand-types` * :ref:`do-not-cast-to-int` * :ref:`reserved-methods` Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | PHP recommendations | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+